PROJECT(nano_db)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)

#IF(NOT EXISTS ${LIBRARY_OUTPUT_PATH})
#    EXEC_PROGRAM(mkdir ${PROJECT_SOURCE_DIR} ARGS ${LIBRARY_OUTPUT_PATH})
#ENDIF()

#EXEC_PROGRAM(cp ${PROJECT_SOURCE_DIR} ARGS ${PROJECT_SOURCE_DIR}/lib/x86/* ${LIBRARY_OUTPUT_PATH})

SET(SRC_LIST nano_db.c)
ADD_LIBRARY(ndb STATIC ${SRC_LIST})

TARGET_LINK_LIBRARIES(ndb xml2 z)
